function makeMap(values:string[]) {
  const set = {}

  values.forEach(val=>Reflect.set(set, val, true))

  return (value:string)=>{
    return !!Reflect.get(set, value.toLowerCase())
  }
}




